
<div class="panel panel-primary">
  <!-- Default panel contents -->
  <div class="panel-heading">Happening Now!</div>
  <div class="panel-body">
    <p class="alert alert-danger">
    	Đây là nơi sẽ thông báo những <span class="alert-link">con nào </span> ở <span class="alert-link">net nào</span>, <span class="alert-link"> lead khi nào </span> và <span class="alert-link"> ai làm lead</span>.
    	<br />
    	Mọi người xem rồi làm, nếu không lead <span class="alert-link"> pm yahoo/skype </span> người lead hỏi nha!
    	<br />
    	Chúc mọi người làm việc tốt!
    	<br />
    	<span class="alert-link"> Admin @Tan!</span>
    </p>
  </div>

  <!-- List group -->
  <ul class="list-group" id="leads">

    

    <?php foreach ($leads as $lead) { ?>
      <li class="list-group-item">
        <div class="alert alert-success">
          <span class="label label-success networkName"><?php echo $lead->networkName ?></span> 
          <span class="alert-link lead-time">
            <abbr class="timeago" title="<?php echo $lead->time ?>">
              <?php echo $lead->time ?>
            </abbr>
          </span>
          <a href='' class='memberName'>
            <h4 style="display: inline-block"><?php echo $lead->memberName ?></h4>
          </a> 
          vừa lead con <span class="alert-link offerId" style="color: #A94442"> <?php echo $lead->offerId ?> </span>
          <span class="badge">+<?php echo $lead->point ?></span>
        </div>
      </li>
    <?php } ?>



  </ul>
</div>
<style type="text/css">
  .networkName, .memberName, .offerId, .lead-time{
    margin-right: 5px;
  }
</style>
